﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Close.aspx.cs" Inherits="CustomerContactSystem.WebForms.Enquiries.Close" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1>Enquiry: <asp:hyperlink ID="EnquiryIdCaption" runat="server"></asp:hyperlink></h1>
<h2>Close Enquiry</h2>
<fieldset>
    <legend>Resolution Details</legend>
    
    <span class="info">
        Bear in mind that if this is a Fix Your Street enquiry the response will be sent to Fix Your Street as a comment.
    </span>

    <asp:Label ID="CustomerWasAnsweredCaption" runat="server" Text="Customer Contacted?:" AssociatedControlID="CustomerWasAnswered"></asp:Label>
    <asp:DropDownList ID="CustomerWasAnswered" runat="server">
        <asp:ListItem>Unable to Contact</asp:ListItem>
        <asp:ListItem>In Person</asp:ListItem>
        <asp:ListItem>By Post</asp:ListItem>
        <asp:ListItem>By Phone</asp:ListItem>
        <asp:ListItem>By Email</asp:ListItem>
        <asp:ListItem>Via FixYourStreet.ie</asp:ListItem>            
    </asp:DropDownList>

    <asp:Label ID="EnquiryResponseCaption" runat="server" Text="Response/Resolution:" AssociatedControlID="EnquiryResponse"></asp:Label>
    <asp:TextBox ID="EnquiryResponse" runat="server" TextMode="MultiLine" Rows="7"></asp:TextBox>
</fieldset>

<fieldset>
    <legend>Commitment</legend>
    
    <span class="info">
        For matters that may take a long time to resolve you can close it now with a commitment that it will be reoslved at some point 
        in the future. For Fix Your Street enquiries it is particularly important to keep the member of the public informed by noting the long term 
        nature of the issue in the response (sent to FYS) above.
    </span>

    <asp:Label ID="CloseWithCommitmentCaption" runat="server" Text="Close with Commitment?:" AssociatedControlID="CloseWithCommitment"></asp:Label>
    <asp:CheckBox ID="CloseWithCommitment" runat="server" />
    
    <asp:Label ID="MonitoredByCaption" runat="server" Text="Monitored by:" AssociatedControlID="MonitoredBy"></asp:Label>
    <asp:DropDownList ID="MonitoredBy" runat="server"></asp:DropDownList>
    
    <asp:Label ID="AssignedToCaption" runat="server" Text="Assigned to:" AssociatedControlID="AssignedTo"></asp:Label>
    <asp:DropDownList ID="AssignedTo" runat="server"></asp:DropDownList>
    
    <asp:Label ID="DeadlineCaption" runat="server" Text="Deadline:" AssociatedControlID="Deadline"></asp:Label>
    <asp:TextBox ID="Deadline" runat="server" CssClass="date"></asp:TextBox>
</fieldset>

<fieldset>
    <asp:Button ID="CloseEnquiry" runat="server" Text="Close" CssClass="submit" onclick="CloseEnquiryClick" />
    <asp:Label ID="CloseEnquiryResultMessage" runat="server" CssClass="error"></asp:Label>
</fieldset>
</asp:Content>
